package com.yiyuzi.admin.common.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author yiyuzi
 * @date 2021/5/7 16:12
 */

@Data
public class PageResultDTO<T> {
    @ApiModelProperty(value = "当前页")
    private Long pageNum;

    @ApiModelProperty(value = "每页的数量")
    private Long pageSize;

    @ApiModelProperty(value = "总记录数")
    private Long total;

    @ApiModelProperty(value = "总页数")
    private Long pages;

    @ApiModelProperty(value = "结果集")
    private List<?> list;
}
